package com.shop.service;

import com.shop.pojo.pms.Pms_Category;
import com.shop.utils.R;
import com.shop.vo.CatalogByTree;

import java.util.List;

public interface Pms_Category_Service {


    public List<CatalogByTree> getTree();//后端管理的layui管理商品分类的tree

    public List<CatalogByTree> getHomeTree();//前台首页调用的三级分类

    public R addCatalog(Pms_Category category);//添加商品分类

    public R updateCatalog(Pms_Category category);//添加商品分类

    public R delCatalog(Integer catelogId);//根据商品分类ID删除商品分类

    public R getCategoryByThree();//查询第三层分类

}
